<%@ page language="java" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ page import="com.hmsm.sys.po.UserInfo" %>
<%@ page import="com.hmsm.server.common.CommonUtil" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>
<head>
	<link type="text/css" rel="stylesheet" href="../<s:property value="#session.themeStyle.mainCss" default="Skin/PM/LightBlue/main.css"/>" />
</head>
<body id="indexTop">
	<div class="divTop">
		<div class="divLeft">
			<div class="divLogo">
				<img alt="logo" src="../<s:property value="sysLogo" default="images/index__logo.png"/>">
			</div>
			<div class="version"><%=CommonUtil.version%></div>
		</div>
		<div class="userInfo">
			<div class="toolsIcon">
				<img alt="" src="../images/one__05.png" >
			</div>
			<div>
				<table>
					<tr>
						<td>用&nbsp;&nbsp;户：</td>
						<td>${user.name }<s:if test="#session.user.name!=#session.user.userName">[<s:property value="#session.user.userName"/>]</s:if></td> 
					</tr>
					<tr><td>组织机构：</td><td><s:property value="#session.user.depart.org.name"/></td></tr>
					<tr><td>部&nbsp;&nbsp;门：</td><td><s:property value="#session.user.depart.name"/></td></tr>
					<s:if test="#session.user.depart.name!=null&&#session.user.depart.name!=''">
					</s:if>
				</table>
			</div>
		</div>
		<div class="divRight">
			<a href="index-welcome.action" target="mainFrame" class="anav">
				<img class="toolsIcon" src="../images/home1.png" />
				<div class="toolsName">
					首页
				</div>
			</a>
			<a href="javascript:void(0);" class="anav" style="display: none;">
				<img class="toolsIcon" src="../images/home1.png" />
				<div class="toolsName">
					主题
				</div>
			</a>
			<a href="javascript:void(0)" onclick="exit();return false;" class="anav">
				<img class="toolsIcon" alt="退出" src="../images/one__07.png">
				<div class="toolsName">
					退出
				</div>
			</a>
		</div>
	</div>
	<script type="text/javascript" src="../js/store.js"></script>
	<script type="text/javascript" src="../js/jquery.js"></script>
	<script type="text/javascript">
		function exit(){
			var url = "../exit.action";
			window.parent.location = url;
		}
	</script>
</body>    
</html>
